package com.atguigu.tms.mock.service.impl;

import com.atguigu.tms.mock.bean.TransportTaskDetail;
import com.atguigu.tms.mock.mapper.TransportTaskDetailMapper;
import com.atguigu.tms.mock.service.TransportTaskDetailService;
import com.atguigu.tms.mock.service.adv.impl.AdvServiceImpl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 运单与运输任务关联表 服务实现类
 * </p>
 *
 * @author zhangchen
 * @since 2022-06-26
 */
@Service
public class TransportTaskDetailServiceImpl extends AdvServiceImpl<TransportTaskDetailMapper, TransportTaskDetail> implements TransportTaskDetailService {



    public List<TransportTaskDetail> getTransportTaskDetailList(Long transportTaskId){
        List<TransportTaskDetail> transportTaskDetailList = list(new QueryWrapper<TransportTaskDetail>().eq("transport_task_id",transportTaskId));
        return transportTaskDetailList;
    }

}
